package com.shy.jenkins.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yzpang
 * @desc:
 * @date: 2023/10/26 14:33
 */
@Slf4j
@RestController
@RequestMapping("hello")
public class HelloWorldController {

    @GetMapping("info")
    public String info(){
        return "hello,world.";
    }
}
